home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BlastDOS
/
[DOS Application] Microsoft - LAN Manager 2.2c - Installation Disks.zip
/
NW
/
NWUNLOAD.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-09-02
|
912b
|
34 lines
@echo off
echo Unloading Netware shell and IPX protocol.
rem *************************************************************************
rem ** To invoke the DOS version independent NetWare shell, uncomment
rem ** the following two lines.
rem netx /u
rem goto IPXREL
rem ** End of DOS version independent NetWare shell lines
rem *************************************************************************
rem ** DOSVER return value is 1 on error (and DOS versions below 3.x),
rem ** DOS version otherwise.
rem *************************************************************************
dosver
if errorlevel 5 goto DOS5x
if errorlevel 4 goto DOS4x
if errorlevel 3 goto DOS3x
goto ERROR_UNLOADING
:DOS3x
net3 /u
goto IPXREL
:DOS4x
net4 /u
goto IPXREL
:DOS5x
net5 /u
:IPXREL
unload ipx
if errorlevel 1 goto ERROR_UNLOADING
goto END
:ERROR_UNLOADING
echo Netware unload aborted.
:END